/**
 * 
 */
package com.ditty.demo.server;

import com.ditty.HttpConfiguration;
import com.ditty.demo.controller.Controller;
import com.ditty.server.ServerFactory;

/**
 * @author dingnate
 *
 */
public class ServerDemo {
	public static void main(String[] args) {
		HttpConfiguration.me().getRouters().add(Controller.class);
		ServerFactory.me().getServer().start();
		//自定义服务器启动
		//ServerFactory.me().getServer().start(webDir, port, contextPath);
	}
}
